nowadays it's essential for every developer to know source or version control platform. today we will discuss some basic git.
What's GIT?
when I first learn about git. many of them tell me git is a version control platform and I have no idea what they said. so basically what they mean by version control is :
as example every change we made we call it a commit, and in this case we have 3 commit. when we actually on the 3rd stage or commit, and all of the sudden your boss told you to reset the project into the first stage. if you dont use any version control platform, probably you will change the codes manually. but if you use a version control platform you actually dont have to manually change the codes by your hand, all you need to do is run a script and everything will be back like you wanted. that is what we called version control. there is 2 famous platform out there it's GITHUB and GITLAB.
GIT INSTALLATION
for Mac/Ubuntusudo apt-get install git
for windows go the link below:
link
CONFIGURATIONgit config --global user.name "user_name" git config --global user.email "user_email"
check the configurationgit config --list
tomorrow we will discuss more about git, such as: make a commit, push, pull, clone, etc